package com.wuxiaofan.event;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import org.springframework.context.ApplicationEvent;

import java.time.Clock;

@Getter
public class LogEvent extends ApplicationEvent {

    private String id;
    private String logType;
    private String msg;

    public LogEvent(Object source, String id, String logType, String msg) {
        super(source);
        this.id = id;
        this.logType = logType;
        this.msg = msg;
    }
}
